import request from '@/utils/request'

export function listpartClass(query) {
  return request({
    url: '/part/partClass/list',
    method: 'get',
    params: query
  })
}

export function createpartClass(data) {
  return request({
    url: '/part/partClass/create',
    method: 'post',
    data
  })
}

export function readpartClass(data) {
  return request({
    url: '/part/partClass/get/' + data.id,
    method: 'get'
  })
}

export function updatepartClass(data) {
  return request({
    url: '/part/partClass/update',
    method: 'post',
    data
  })
}

export function deletepartClass(data) {
  return request({
    url: '/part/partClass/delete/' + data.fclassstno,
    method: 'delete'
  })
}
